package com.tenebrous.jestic.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.BaseMapper;
import tk.mybatis.mapper.common.IdsMapper;

import java.util.List;
import java.util.Map;

public interface ISuperMapper<T> extends BaseMapper<T>, /*ConditionMapper<T>, */IdsMapper<T> {

    @Select("${sql}")
    List<Map<String, Object>> executeMapList(@Param("sql") String sql);

    @Select("${sql}")
    Object executeUniqueObject(@Param("sql") String sql);
}